package com.dbapp.shopping.storage;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties("storage")
public class StorageProperties {

    /**
     * Folder location for storing files
     */
    private String goodsImgLocation = "D:/PJImg/goodsImg";

    private  String userImgLocation = "D:/PJImg/userImg";

    public String getgoodsImgLocation() {
        return goodsImgLocation;
    }

    public String getuserImgLocation() { return userImgLocation;    }

    public void setgoodsImgLocation(String location) {
        this.goodsImgLocation = location;
    }

    public void setuserImgLocation(String location) {
        this.userImgLocation = location;
    }

}
